package com.xudow.app.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

import com.xudow.app.dynamicstate_old.module.guide.RoleActivity;
import com.xudow.app.util.PrefUtils;

public class BootstrapActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        boolean isFirst = PrefUtils.isFirstLaunch(this);
        boolean isSelected=PrefUtils.isSelectGrade(this);
       if(isFirst){
           startActivity(new Intent(this, RoleActivity.class));
        }else{

           startActivity(new Intent(this, SplashActivity.class));
       }

        finish();
    }

}
